JBoss Community Archive (Read Only)

GateIn Portal 3.5

Manage Portlets and Gadgets

Portlets and gadgets are organized in different categories. Each category contains one or several portlets or gadgets. You can also mix portlets and gadgets into one category. By default all gadgets are placed in the Gadgets category.

Display Gadgets

You can change the number of columns available in the Dashboard Portlet.

  1. **
    Click on Site Editor : Edit Page

  2. **
    Click on Edit Portlet button (which is displayed a pencil icon when you mouse-over the portlet in edit mode). It will show a dialog to change the number of columns to display gadgets.

    images/author/download/attachments/54264664/Column.png
  3. **
    Change the number of columns and click the Save button to accept the changes.

Add a new Category

You easily add a new category by following these guides:

  1. **
    In the Group menu, select Administration -> Application Registry.

  2. **
    Click the Add Category button on the action bar:

    images/author/download/attachments/54264664/AddCategory1.png

    The Category Setting tab: includes common information about a category.

  • Category name

    The name of the category. This field is required and its length must be between 3 and 30 characters. Only alpha, digit, dash and underscore characters are allowed.

  • Display name

    The display name of the category and its length must be between 3 and 30 characters.

  • Description

    A brief description of the category. Any length from 0 to 255 characters is allowed.

    The Permission Setting tab provides access to the Permission manager.
    The permission criteria are used whenever a user creates or modifies a page. In that case the user can only see and use portlets in those categories on which he or she has access to (as defined by groups and memberships).
    images/author/download/attachments/54264664/Permission2.png

Edit a Category

  1. **
    Click the Edit icon located next to the title bar.

  2. **
    Update the category information.

  3. **
    Click the Save button to apply changes.

Delete a Category

  1. **
    Click the Trash can icon located next to the title bar.

  2. **
    Accept the deletion by clicking OK

Add Portlets/Gadgets to a Category

  1. **
    Click the "Plus" icon located next to the category name to which you want to add portlets/gadgets.

    images/author/download/attachments/54264664/AddPortlet2.png
  • Display name

    The display name of a portlet/gadget.

  • Application Type

    Either Portlet or Gadget.

  1. **
    Enter the display name and select a type

  2. **
    Select a portlet/gadget by checking the radio button.

  3. **
    Click the Save button to add the selected portlet/gadget to the category.

Set Access Permission on Portlets

  1. **
    In the Group menu, select Administration and then Application Registry.

    images/author/download/attachments/54264664/PortletPermission.png
  2. **
    Select a category in the Category pane that includes the portlet you want to set permissions on. All portlets of that category will be listed underneath.

  3. **
    To set permission for a portlet:

    • Click the Add Permission button to add access permissions to more groups.

      images/author/download/attachments/54264664/AddPermission.png
    • Or check Make it public to allow everyone to access.
      Whenever the user creates or modifies a page, he or she can only see and use gadgets/portlets that fulfill two conditions: the portlet is in a category which the user has access permission too and the user has access permission on the portlet

View/Edit portlet/gadget information

In the Group menu, select Administration then Application Registry.

images/author/download/attachments/54264664/Org1.png

  • Left pane

    All portlets and gadgets grouped by categories

  • Right pane

    shows detail information about a portlet: Name, Display name, Description and Portlet preferences.

    To see the details of any portlet select it from the list on the left.

To edit a portlet, click the edit button to the right of the portlet's name:

images/author/download/attachments/54264664/EditApplication.png
images/author/download/attachments/54264664/EditApplicationInformation.png

Add a Gadget

In the Group menu, select Administration then Application Registry. Click on the Gadget icon.

images/author/download/attachments/54264664/Gadgetnew.png
You may add a remote gadget using its URL or create a brand-new one:

Add a remote Gadget

  1. **
    Click on Add a remote gadget:

    images/author/download/attachments/54264664/AddGadgetnew.png
  2. **
    Enter the url of the remote gadget in the URL field.

    images/author/download/attachments/54264664/AddGadgetnewUrl.png
  3. **
    Click Add. The new remote gadget will be appear in gadget list on left pane of the Dashboard portlet. Create a new Gadget

  4. **
    Click on Create a new gadget:

    images/author/download/attachments/54264664/CreateGadget1.png
  5. **
    Populate the Source field with the xml code of the new gadget.
    You can edit or refresh a gadget using the icons in the top right of the Gadget Details pane.

You can delete a local gadget using the trashcan icon to the right of the appropriate gadget in the gadget list.

images/author/download/attachments/54264664/ActionGadget.png

Add a new Gadget to the Dashboard Portlet

See sect-User_Guide-Dashboard_Portlet-Add_Gadgets for instructions on how to add new gadgets to the dashboard.

Manage Gadgets

Edit a Gadget

Click the Edit Gadget icon located in the header of the Gadget Details page to display the following window:

images/author/download/attachments/54264664/Source.png

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-10 12:54:34 UTC, last content change 2012-10-09 15:03:46 UTC.